import { createRouter, createWebHistory } from 'vue-router'
import Home from '../views/home.vue'
import About from '../views/about.vue'
import MapLine from '../views/mapLine.vue'
import TestMap from '../views/testMap.vue'
import NewMapLine from '../views/newMapLine.vue'
import NewMapLine2 from '../views/newMapLine2.vue'
const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home
  },
  {
    path: '/about',
    name: 'About',
    component: About
  },
  {
    path: '/mapLine',
    name: 'MapLine',
    component: MapLine
  },
  {
    path: '/testMap',
    name: 'TestMap',
    component: TestMap
  },
  {
    path: '/newMapLine',
    name: 'NewMapLine',
    component: NewMapLine
  },
  {
    path: '/newMapLine2',
    name: 'NewMapLine',
    component: NewMapLine2
  }

]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router